package net.lab1024.sa.admin.module.business.contact.dao;

import java.util.List;
import net.lab1024.sa.admin.module.business.contact.domain.entity.ContactEntity;
import net.lab1024.sa.admin.module.business.contact.domain.form.ContactQueryForm;
import net.lab1024.sa.admin.module.business.contact.domain.vo.ContactVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

/**
 * 联系方式 Dao
 *
 * @Author 1
 * @Date 2025-06-20 16:36:02
 * @Copyright 1
 */

@Mapper
public interface ContactDao extends BaseMapper<ContactEntity> {

    /**
     * 分页 查询
     *
     * @param page
     * @param queryForm
     * @return
     */
    List<ContactVO> queryPage(Page page, @Param("queryForm") ContactQueryForm queryForm);

    List<ContactVO> list(@Param("queryForm") ContactQueryForm queryForm);

}
